package com.baor.service;

import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.baor.dao.CustomerDao;
import com.baor.domain.CustomerVO;
import com.baor.util.R;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.*;
import java.util.stream.Collectors;


@Service

public interface TeamService {
    List<Map<String, Object>> getAllTeamsWithMembers(String nickname, String phone);

    int updateTeam(@RequestParam Map<String, Object> params);
    int addHolder(@RequestParam Map<String, Object> params);

    int bind(@RequestParam Map<String, Object> params);
}